/**
 * 
 */
package com.p2p.front.service;

import com.p2p.base.model.Money;
import com.p2p.front.dal.model.LoanRepay;
import com.p2p.front.result.LoanRepayResult;
import com.p2p.front.service.model.BizReturnAdvanceModel;
import com.p2p.trans.client.result.AccountTransResult;

/**
 * @author ruiqi
 *
 */
public interface LoanRepayBizService {

	public LoanRepayResult doRepayForAdvance(Long loanId, Money fine,boolean needRepay);
	
	public LoanRepayResult doRepayForAdvance2(Long loanId, Money fine,
			boolean needRepay);
	
	public LoanRepayResult doRepayForNomal(Long rid, Money fine,boolean needRepay);
	
	public BizReturnAdvanceModel getBizReturnAdvanceModel(Long loanId);
	
	public LoanRepayResult doRepayForAdvance2Check(BizReturnAdvanceModel bizReturnAdvanceModel);
	
	public LoanRepayResult doRepayForNomalCheck(LoanRepay loanRepay);
	
	public AccountTransResult tender2MiddleTrans(Money amount,String memo);
	
	public AccountTransResult middle2TenderTrans(Money amount,String memo);
	
}
